package com.yangdage.runner;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.io.ClassPathResource;
import org.springframework.stereotype.Component;

import java.io.File;

@Component
public class ApplicationRunnerImpl implements ApplicationRunner {
    private Logger logger = LoggerFactory.getLogger(ApplicationRunnerImpl.class);
    @Override
    public void run(ApplicationArguments args) throws Exception {
        logger.info("启动了项目.........");
    }
}
